#!/bin/sh
./pagamigo.py redirect --mock --username example@example.com --password example --url 'https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-0JJ78899GM838124W' --base 'https://www.sandbox.paypal.com' --debug > /tmp/result.txt
cat tests/login.txt tests/redirect.txt > /tmp/truth.txt
diff /tmp/result.txt /tmp/truth.txt
